Skip to content

Conversation

prajeeta15
Copy link

This update makes it easier to handle agent deployments without writing manual polling loops.

  • Added waitForDeployment() → polls until an agent’s deployment is STATUS_RUNNING, with configurable timeout and interval.
  • Added createAndWait() → creates an agent and automatically waits for it to finish deploying.
  • Handles failure states (STATUS_FAILED, STATUS_UNDEPLOYMENT_FAILED, STATUS_DELETED) and timeouts cleanly.
  • Added optional WaitForDeploymentOptions (intervalMs, timeoutMs, throwOnFailure).

issue #4

@prajeeta15 prajeeta15 closed this by deleting the head repository Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant